<!--
**********************************************************
* @Author: 张小平
* @Date:   2024-05-01
* @Email:  qqshuqian@163.com
* @Last modified: 最后修改日期
* @Description: 文件描述
**********************************************************
-->
<template xmlns="http://www.w3.org/1999/html">
  <div class="avue-logo">
    <transition name="fade">
      <span v-if="getScreen(isCollapse)"
            class="avue-logo_subtitle"
            key="0">
         <el-link :href="website.baseHomeIndexUrl" >{{website.logo}}</el-link>
      </span>
    </transition>
    <transition-group name="fade">
      <template v-if="getScreen(!isCollapse)">
        <el-link :href="website.baseHomeIndexUrl" >
          <el-image style="height: 40px;margin-right: 10px" class="avue-logo_title"   :src="website.logo" :fit="fit"></el-image>
          <span class="avue-logo_title"  key="1"> {{website.indexTitle}} </span>
        </el-link>

      </template>
    </transition-group>
  </div>
</template>

<script>
import { mapGetters } from "vuex";
export default {
  name: "logo",
  data () {
    return {};
  },
  created () { },
  computed: {
    ...mapGetters(["isCollapse"])
  },
  methods: {}
};
</script>
